$OpenBSD: patch-src_cfgparser_local_mk,v 1.3 2017/06/04 11:45:04 stsp Exp $
Index: src/cfgparser/local.mk
--- src/cfgparser/local.mk.orig
+++ src/cfgparser/local.mk
@@ -83,5 +83,7 @@ endif
 
 $(C)oparse.o: CFLAGS := $(filter-out -Wunreachable-code,$(CFLAGS))
 
+$(C)cfgfile_gen.o: CFLAGS += -fPIC
+
 # and a few files to be cleaned
 TMPFILES += $(foreach pat,oscan.c oparse.c oparse.h,$(C)$(pat) $(C)$(pat)-tmp)
